/**
 * Project Name:jiuselu-parent
 * File Name:YopOprConstants.java
 * Package Name:com.fxp.project.jiuselu.web.config
 * Date:2021年12月26日 16:23
 * Copyright (c) 2021, Jason.Wang All Rights Reserved.
 */
package com.fxp.project.jiuselu.web.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName:YopOprConstants<br/>
 * Function: 易付宝支付<br/>
 * Date:2021年12月26日 16:23<br/>
 *
 * @author Jason.Wang
 * @version 1.0.0
 * @see
 * @since JDK 1.8
 */
@Component
@ConfigurationProperties(prefix = "yop")
public class YopOprConstants {

    private String merchantNo;
    private String subMerchantNo;
    private String appKey;
    /**
     * 公众号Id
     */
    private String gzhAppId;
    /**
     * 公众号Id
     */
    private String xcxAppId;
    /**
     * 加密的密钥
     */
    private String aesSecretKey;
    /**
     * 当前用户的OpenId
     */
    private String openId;
    private String notifyUrl;
    private String callbackUrl;
    private String userIp;

    /**
     * 聚合API收银台
     */
    public static final String PAY_LINK_ORDER_API = "/rest/v1.0/nccashierapi/api/pay";

    public String getMerchantNo() {
        return merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    public String getSubMerchantNo() {
        return subMerchantNo;
    }

    public void setSubMerchantNo(String subMerchantNo) {
        this.subMerchantNo = subMerchantNo;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getGzhAppId() {
        return gzhAppId;
    }

    public void setGzhAppId(String gzhAppId) {
        this.gzhAppId = gzhAppId;
    }

    public String getXcxAppId() {
        return xcxAppId;
    }

    public void setXcxAppId(String xcxAppId) {
        this.xcxAppId = xcxAppId;
    }

    public String getAesSecretKey() {
        return aesSecretKey;
    }

    public void setAesSecretKey(String aesSecretKey) {
        this.aesSecretKey = aesSecretKey;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }
}